import java.math.BigDecimal;

public class User {
  /**
   * 当前用户的ID
   */
  public int id = 1;
  /**
   * 当前用户的名字
   */
  public String name = "";
  /**
   * 厂商到我这里来拿货的价格
   */
  public BigDecimal price = BigDecimal.ZERO;
  /**
   * 账上的钱
   */
  public BigDecimal accountsMoney = BigDecimal.ZERO;
  /**
   * 我上家给我定的价格浮动比例
   */
  public BigDecimal scale = BigDecimal.ZERO;

  /**
   * 当前用户真实的利润
   */
  public BigDecimal realMoney = BigDecimal.ZERO;

  public User(int id, String name, BigDecimal scale) {
    this.id = id;
    this.name = name;
    this.scale = scale;
  }
}